package com.restkeeper.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 用户设备次数表(DyUserTimes)实体类
 *
 * @author makejava
 * @since 2025-05-17 17:20:19
 */
@Data
public class DyUserTimes implements Serializable {
    private static final long serialVersionUID = -22192840163035439L;

    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 商户id
     */
    private Long merchantId;
    /**
     * 设备id
     */
    private Long deviceId;
    /**
     * 剩余次数
     */
    private int times;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}

